home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / rhost.z / rhost
Encoding:
Text File  |  2002-10-03  |  8.3 KB  |  265 lines

  1.  
  2.  
  3.  
  4. RRRRHHHHOOOOSSSSTTTT((((1111MMMM))))                                                            RRRRHHHHOOOOSSSSTTTT((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      rhost - set the attributes of remote hosts and networks.
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////eeeettttcccc////rrrrhhhhoooosssstttt [----llll <_l_o_o_k_u_p__h_o_s_t>] [----ffff <_c_f_i_l_e>] [----rrrr <_r_e_m_o_t_e>] [----kkkk ]]]] [----nnnn ]]]]
  13.      [----dddd ]]]]
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      On systems with TSIX networking enabled, the kernel uses an internal
  17.      lookup table, called the internal Remote Host Database (RHDB), to enforce
  18.      per host security policy.  The rhost command loads the RHDB with the
  19.      attributes of remote hosts and networks, specified in /_e_t_c/_r_h_o_s_t._c_o_n_f.
  20.  
  21.    OOOOppppttttiiiioooonnnnssss
  22.      -l <_l_o_o_k_u_p__h_o_s_t>
  23.                      The ----llll option will check the RHDB for a host name and, if
  24.                      it exists, will display the host's attributes.
  25.  
  26.      -f <_c_f_i_l_e>      ////eeeettttcccc////rrrrhhhhoooosssstttt....ccccoooonnnnffff is the default file used to create the
  27.                      RHDB.  Use the ----ffff option to use an alternative
  28.                      configuration file.  When using a different file other
  29.                      then the default, make sure it has the appropriate
  30.                      security policies.
  31.  
  32.      -r <_r_e_m_o_t_e>     The ----rrrr option is defined, but not used.
  33.  
  34.      -k              The ----kkkk option is used to list all recognized attributes.
  35.  
  36.      -n              The ----nnnn option checks the RHDB file only.
  37.  
  38.      -d              The ----dddd option gives some debug information.
  39.  
  40.      -v              The ----vvvv option turns on verbose mode.
  41.  
  42.      The /_e_t_c/_r_h_o_s_t._c_o_n_f file consists, minimally, of a series of host
  43.      attribute profile assignments of the form:
  44.  
  45.           <_n_a_m_e>: = <_a_t_t_r_i_b_u_t_e> = <_v_a_l_u_e>: [<_a_t_t_r_i_b_u_t_e> = <_v_a_l_u_e>:]
  46.  
  47.      Newline characters within a host attribute profile must be escaped.  It
  48.      is usually most convenient to specify a series of commonly used profiles
  49.      as templates, then use the templates to assign the profiles to specific
  50.      hosts.  A template looks exactly like a host profile assignment, except
  51.      that one of the attribute-value pairs is _d_e_f_a_u_l_t__s_p_e_c = .:, for example:
  52.  
  53.           _d_e_f_a_u_l_t__c_i_p_s_o: \
  54.                     _s_m_m__t_y_p_e = _s_i_n_g_l_e__l_e_v_e_l: \
  55.                     _n_l_m__t_y_p_e = _c_i_p_s_o: \
  56.                     _d_e_f_a_u_l_t__s_p_e_c = .:
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. RRRRHHHHOOOOSSSSTTTT((((1111MMMM))))                                                            RRRRHHHHOOOOSSSSTTTT((((1111MMMM))))
  71.  
  72.  
  73.  
  74.           Either host names or IP addresses may be used to specify hosts.  If
  75.           a host name is used, an entry for that host must appear in the local
  76.           /_e_t_c/_h_o_s_t_s file, as rrrrhhhhoooosssstttt is run before network information services
  77.           (NIS) are available.  A wildcard IP address, that is, an address
  78.           with zeros in some slots, may be used to specify a range of IP
  79.           addresses.  For example,
  80.  
  81.                128.01.01.0:
  82.                128.01.0.0:
  83.                128.0.0.0:
  84.                0.0.0.0:
  85.  
  86.           are valid host specifications. When rrrrhhhhoooosssstttt resolves addresses, it
  87.           first looks for a complete address, followed by a wildcard with one
  88.           zero byte, and so forth.  This allows the administrator to specify,
  89.           for example:
  90.  
  91.                0.0.0.0:        The whole world is untrusted
  92.                128.01.01.0:    Except this network, which speaks CIPSO
  93.                128.01.01.01:   Except this host, which is TSIX.
  94.  
  95.  
  96.           A sample copy of /_e_t_c/_r_h_o_s_t._c_o_n_f has been provided on your system.
  97.           The file begins with a series of templates, including default_cipso
  98.           and default_sgipso.  These templates are used later in the file to
  99.           assign profiles to specific hosts for example:
  100.  
  101.                _l_o_c_a_l_h_o_s_t:  _d_e_f_a_u_l_t__s_p_e_c = _d_e_f_a_u_l_t__c_i_p_s_o:
  102.  
  103.           The following attributes are recognized:
  104.  
  105.           host_type
  106.                The host_type attribute value will be printed when the RHDB is
  107.                loaded.
  108.  
  109.           smm_type
  110.                Session Manager IDs. Identifies the protocol used to
  111.                communicate with a host.  Acceptable values are msix, msix_1.0,
  112.                msix_2.0, tsix, tsix_1.0, tsix_1.1, none and single_level.
  113.                Other values are ignored.  For more information, see
  114.                trusted_networking(7m).
  115.  
  116.           nlm_type
  117.                IP Security Options.  Acceptable Trusted IRIX values are cipso,
  118.                cipso_tt1, cipso_tt2, ripso_bso, ripso_bso_tx, ripso_bso_rx,
  119.                ripso_eso, sgipso, sgipso_nouid, sgipso_spcl, sgipso_loop, none
  120.                and unlabeled.  Other values are ignored.  For more
  121.                information, see trusted_networking(7m).
  122.  
  123.           ipsec
  124.                This attribute is recognized but not implemented.
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. RRRRHHHHOOOOSSSSTTTT((((1111MMMM))))                                                            RRRRHHHHOOOOSSSSTTTT((((1111MMMM))))
  137.  
  138.  
  139.  
  140.           default_spec
  141.                Indicates that this is a template.
  142.  
  143.           cache_size
  144.                Sets the RHDB cache size.
  145.  
  146.           min_sl
  147.                Minimum sensitivity label.
  148.  
  149.           max_sl
  150.                Maximum sensitivity label.
  151.  
  152.           min_integ
  153.                Minimum integrity label.
  154.  
  155.           max_integ
  156.                Maximum integrity label.
  157.  
  158.           def_sl
  159.                Default sensitivity label.
  160.  
  161.           def_integ
  162.                Default integrity label.
  163.  
  164.           def_ilb
  165.                Information label. Ignored.
  166.  
  167.           def_clearance
  168.                Default clearance.
  169.  
  170.           def_uid
  171.                Default user ID.
  172.  
  173.           def_luid
  174.                Default login/audit ID.
  175.  
  176.           def_sid
  177.                Default session ID.
  178.  
  179.           def_gid
  180.                Default group ID.
  181.  
  182.           def_ngrps
  183.                Default group ID count.
  184.  
  185.           def_gids
  186.                Default group ID list.
  187.  
  188.           def_audit
  189.                Default login/audit ID.
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. RRRRHHHHOOOOSSSSTTTT((((1111MMMM))))                                                            RRRRHHHHOOOOSSSSTTTT((((1111MMMM))))
  203.  
  204.  
  205.  
  206.           def_privs
  207.                Default privileges.
  208.  
  209.           max_privs
  210.                Maximum privileges.
  211.  
  212.           vendor
  213.                Enable vendor specific compatibility.  Acceptable values are
  214.                sun, hewlett-packard, hp, ibm, cray, dg, harris and unknown.
  215.  
  216.           doi  Domain of Interpretation.  This attribute is recognized but not
  217.                implemented.  Under Trusted IRIX/CMW only a DOI of 3 is
  218.                supported.
  219.  
  220.           flags
  221.                Indicates which attributes are mandatory on packets received
  222.                from a host.  The following values are recognized:  import,
  223.                export, deny_access, mand_sl, mand_integ, mand_ilb, mand_privs,
  224.                mand_luid, mand_ids, mand_sid, mand_pid, mand_clearance,
  225.                trace_rcv_pkt, trace_xmt_pkt, trace_rcv_att and trace_xmt_att.
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.